package com.yy.micro.magic.core.annotation;

import com.yy.micro.magic.core.condition.Condition;

import org.springframework.stereotype.Component;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Component
public @interface Conditional {
 /**
 　　* @description: TODO
 　　* @param ${tags}
 　　* @return ${return_type}
 　　* @throws
 　　* @author ${USER}
 　　* @date 2021/9/16 9:10 下午
 　　*/
    Class<? extends Condition> condition() default Condition.FalseCondition.class;
}
